// import NoteComponent from './NoteComponent/NoteComponent.vue'
// import HomeService from "./Home.service";

export default {
  name: "Star",
  data() {
    return {
      StarsCount: 800,
      distance: 800
      // noteList: "",
    }
  },
  // components: {
  //   NoteComponent
  // },
  mounted() {
    let StarsArr = this.$refs.Stars;
    for (const item of StarsArr) {
      let speed = 0.2 + (Math.random() * 1);
      let thisDistance = this.distance + (Math.random() * 300);
      item.style.transformOrigin = `0 0 ${thisDistance}px`;
      item.style.transform = `translate3d(0,0,-${thisDistance}px) rotateY(${(Math.random() * 360)}deg) rotateX(${(Math.random() * -50)}deg) scale(${speed},${speed})`
    }
  },
  methods: {
  },
  created() {

  }
}
